from django.urls import path, include
from rest_framework import routers

from campus import views

campus_api_router = routers.DefaultRouter()

campus_api_router.register('campus_organizations',
                           views.CampusOrganizationViewSet,
                           basename='campus')
campus_api_router.register('campus_organizations_manager',
                           views.CampusOrganizationsManagerViewSet,
                           basename='campus')
campus_api_router.register('campus_organization_activity',
                           views.CampusOrganizationActivityViewSet,
                           basename='campus',
                           )
urlpatterns = [
    path('', include((campus_api_router.urls, 'campus'), namespace='campus'))
]
